package com.dormitory.management.system.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 房间表
 * </p>
 *
 * @author
 * @since 2021-12-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Room对象", description="房间表")
public class RoomPageReq implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "当前页",required = true)
    private int pageCurrent = 1;

    @ApiModelProperty(value = "每页记录数",required = true)
    private int pageSize = 10;

    @ApiModelProperty(value = "房间号")
    private Integer room;

    @ApiModelProperty(value = "对应生活区id")
    private Long livingId;

    @ApiModelProperty(value = "对应楼栋id")
    private Long buildingId;

    @ApiModelProperty(value = "寝室状态（0：未住满，1：已住满）")
    private Integer status;

    @ApiModelProperty(value = "当前用户账号",required = true)
    private String username;

}
